import React from 'react';
import ToolItemBase from './ToolItemBase/index';
 import Preview from './Preview/Preview.js';
import ToolDoubleImagesPreview from './Preview/ToolDoubleImagesPreview.js';

export default class ToolDoubleImages extends ToolItemBase {}
ToolDoubleImages.defaultProps = {
	name:"双列图片",
	icon:<i className="tool-icon iconfont">&#xe6c2;</i>,
	preview:ToolDoubleImagesPreview,
	code:"double_images",
	formField:{
		"myTitle":{"type":"title","title":"双列图片模块","name":"myTitle","placeholder":"请上传正确的图片"},
		"myPic":{"type":"picture","title":"第一张图片","name":"myPic","max":1,"aspectRatio":16/9,"onlyCrop":false},
		"myText":{"type":"text","title":"第一张图片文字","name":"myText","placeholder":"请输入图片文字"},
		"myLink":{"type":"text","hasicon":true,"title":"第一张图链接","name":"ddLink","placeholder":"请插入正确的手淘链接"},
		"myPic1":{"type":"picture","title":"第二张图片","name":"myPic","max":1,"aspectRatio":16/9,"onlyCrop":false},
		"myText1":{"type":"text","title":"第二图片张文字","name":"myText","placeholder":"请输入图片文字"},
		"myLink1":{"type":"text","hasicon":true,"title":"第二张图链接","name":"ddLink","placeholder":"请插入正确的手淘链接"},
		"bgColor":{"type":"text","title":"背景色","name":"bgColor","placeholder":"请输入颜色代码，#号开头"},
	},
	formData:{
		"myTitle":"",
		"myPic":"https://img.alicdn.com/imgextra/i4/27390555/TB2MukTgEdnpuFjSZPhXXbChpXa-27390555.gif",
		"myText":"",
		"myLink":"",
		"myPic1":"https://img.alicdn.com/imgextra/i4/27390555/TB2MukTgEdnpuFjSZPhXXbChpXa-27390555.gif",
		"myText1":"",
		"myLink1":"",
		"bgColor":"",
	},
	cls:"",
};